<template>
	<view>
		<view class="search_box">
			<image src="../../static/search.png" mode="aspectFill"></image>
			<input type="text" value="" placeholder="你好" />
			<image src="../../static/user/user_quxiao.png" mode="aspectFill" class="quxiao"></image>
		</view>
		<view class="box">
			<view class="common">
				<image src="../../static/user/ueser-pugongying.png" mode="aspectFill"></image>
				<view class="user_info">
					<text>蒲公英</text>
					<view class="time"><view>03-05 14:05</view></view>
					<view class="message">
						<view>嘿,你好!</view>
					</view>
				</view>
			</view>
		</view>
		<view class="box">
			<view class="common">
				<image src="../../static/user/user_yidainqingxu.png" mode="aspectFill"></image>
				<view class="user_info">
					<text>一点小情绪</text>
					<view class="time"><view>03-04 13:30</view></view>
					<view class="message message1">
						<view>你好!</view>
					</view>
				</view>
			</view>
		</view>
		<view class="box">
			<view class="common">
				<image src="../../static/user/ueser-pugongying.png" mode="aspectFill"></image>
				<view class="user_info">
					<text>蒲公英</text>
					<view class="time"><view>03-05 14:05</view></view>
					<view class="message">
						<view>嘿,你好!</view>
					</view>
				</view>
			</view>
		</view>
		<view class="box">
			<view class="common">
				<image src="../../static/user/user_yidainqingxu.png" mode="aspectFill"></image>
				<view class="user_info">
					<text>一点小情绪</text>
					<view class="time"><view>03-04 13:30</view></view>
					<view class="message message1">
						<view>你好!</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
		}
	}
</script>

<style>
	page {
		background-color: #fff;
	}
	
	.box {
		background-color: #fff;
	}
	
	.search_box {
		display: flex;
		align-items: center;
		justify-content: row;
		height: 66rpx;
		margin: 24rpx 30rpx;
		background:rgba(242,243,245,1);
		border-radius: 50rpx;
	}
	
	.search_box input {
		width: 560rpx;
	}

	.search_box image:nth-child(1) {
		margin: 0 21rpx 0 30rpx;
		width: 30rpx;
		height: 30rpx;
	}
	
	.quxiao {
		width: 34rpx;
		height: 34rpx;
	}
	
	.common {
		position: relative;
		margin-left: 30rpx;
		display: flex;
		justify-content: start;
		align-items: center;
		height: 140rpx;
		border-bottom: 1rpx solid #E0E0E0;
	}
	
	
	.common image {
		width: 94rpx;
		height: 94rpx;
	}
	
	
	.user_info text:nth-child(1) {
		margin-left: 21rpx;
		font-size: 28rpx;
		font-weight: 500;
		color: #333;
	}
	
	.time {
		position: absolute;
		top: 36rpx;
		left: 570rpx;
	}
	
	.time view  {
		font-size: 22rpx;
		font-weight: 500;
		color: #999;
	}
	
	.message {
		font-size: 22rpx;
		font-weight: 500;
		color: #666;
		margin-left: 21rpx;
		margin-top: 15rpx;
	}
	
	.message1 {
		color: #FF3543;
	}
</style>